diff options
author | Mattias Andrée <maandree@kth.se> | 2021-07-29 22:00:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-07-29 22:00:37 +0200 |
commit | cb48d6ebf6df5208779a1995ab62179938139cb4 (patch) | |
tree | fd7ecf738d672c01cb2f3a1e0462573f26a93dd0 /xz-java-git [disowned]/PKGBUILD | |
parent | Update mongoclock (diff) | |
download | aur-packages-cb48d6ebf6df5208779a1995ab62179938139cb4.tar.gz aur-packages-cb48d6ebf6df5208779a1995ab62179938139cb4.tar.bz2 aur-packages-cb48d6ebf6df5208779a1995ab62179938139cb4.tar.xz |
Remove old packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xz-java-git [disowned]/PKGBUILD')
-rw-r--r-- | xz-java-git [disowned]/PKGBUILD | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/xz-java-git [disowned]/PKGBUILD b/xz-java-git [disowned]/PKGBUILD deleted file mode 100644 index 88dbed7..0000000 --- a/xz-java-git [disowned]/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> -pkgname=xz-java-git -pkgver=20130129 -pkgrel=1 -pkgdesc="Java library for XZ and LZMA compression" -arch=('any') -url="http://tukaani.org/xz/java.html" -license=('Public Domain') -depends=('java-runtime>=1.4') -makedepends=('git' 'java-environment>=1.4') -provides=('xz-java') -conflicts=('xz-java') - -_gitroot=http://git.tukaani.org/xz-java.git -_gitname=xz-java - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - - javac -source 1.4 -target 1.4 -d . -s src -cp . $(find src | grep \\.java\$) - jar -cf xz-java.jar $(find . | grep \\.class\$) -} - -package() { - cd "$srcdir/$_gitname-build" - install -d "$pkgdir/usr/lib/" - install -m 755 xz-java.jar "$pkgdir/usr/lib/" -} |